.class public Lcom/waiqin365/lightapp/kaoqin/c/v;
.super Lcom/waiqin365/lightapp/kaoqin/c/u;


# instance fields
.field private a:Ljava/lang/String;

.field private b:Ljava/lang/String;

.field private c:I

.field private d:Ljava/util/List;


# direct methods
.method public constructor <init>()V
    .locals 1

    const/16 v0, 0x70

    invoke-direct {p0, v0}, Lcom/waiqin365/lightapp/kaoqin/c/u;-><init>(I)V

    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/c/v;->d:Ljava/util/List;

    return-void
.end method


# virtual methods
.method public a()Ljava/lang/String;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/c/v;->a:Ljava/lang/String;

    return-object v0
.end method

.method public a(Ljava/lang/String;)Z
    .locals 7

    const/4 v0, 0x0

    :try_start_0
    new-instance v1, Lorg/json/JSONObject;

    invoke-direct {v1, p1}, Lorg/json/JSONObject;-><init>(Ljava/lang/String;)V

    const-string/jumbo v2, "code"

    invoke-virtual {v1, v2}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_0

    const-string/jumbo v2, "code"

    invoke-virtual {v1, v2}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    iput-object v2, p0, Lcom/waiqin365/lightapp/kaoqin/c/v;->a:Ljava/lang/String;

    :cond_0
    const-string/jumbo v2, "message"

    invoke-virtual {v1, v2}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_1

    const-string/jumbo v2, "message"

    invoke-virtual {v1, v2}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v2

    iput-object v2, p0, Lcom/waiqin365/lightapp/kaoqin/c/v;->b:Ljava/lang/String;

    :cond_1
    const-string/jumbo v2, "recPerPage"

    invoke-virtual {v1, v2}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_2

    const-string/jumbo v2, "recPerPage"

    invoke-virtual {v1, v2}, Lorg/json/JSONObject;->getInt(Ljava/lang/String;)I

    move-result v2

    iput v2, p0, Lcom/waiqin365/lightapp/kaoqin/c/v;->c:I

    :cond_2
    const-string/jumbo v2, "myAttendanceApplyInfos"

    invoke-virtual {v1, v2}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v2

    if-eqz v2, :cond_e

    const-string/jumbo v2, "myAttendanceApplyInfos"

    invoke-virtual {v1, v2}, Lorg/json/JSONObject;->getJSONArray(Ljava/lang/String;)Lorg/json/JSONArray;

    move-result-object v3

    move v2, v0

    :goto_0
    invoke-virtual {v3}, Lorg/json/JSONArray;->length()I

    move-result v1

    if-ge v2, v1, :cond_e

    new-instance v4, Lcom/waiqin365/lightapp/kaoqin/c/a/d;

    invoke-direct {v4}, Lcom/waiqin365/lightapp/kaoqin/c/a/d;-><init>()V

    invoke-virtual {v3, v2}, Lorg/json/JSONArray;->getJSONObject(I)Lorg/json/JSONObject;

    move-result-object v5

    const-string/jumbo v1, "id"

    invoke-virtual {v5, v1}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_4

    const-string/jumbo v1, "id"

    invoke-virtual {v5, v1}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    :goto_1
    iput-object v1, v4, Lcom/waiqin365/lightapp/kaoqin/c/a/d;->a:Ljava/lang/String;

    const-string/jumbo v1, "date_time_desc"

    invoke-virtual {v5, v1}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_5

    const-string/jumbo v1, "date_time_desc"

    invoke-virtual {v5, v1}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    :goto_2
    iput-object v1, v4, Lcom/waiqin365/lightapp/kaoqin/c/a/d;->b:Ljava/lang/String;

    const-string/jumbo v1, "create_time_desc"

    invoke-virtual {v5, v1}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_6

    const-string/jumbo v1, "create_time_desc"

    invoke-virtual {v5, v1}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    :goto_3
    iput-object v1, v4, Lcom/waiqin365/lightapp/kaoqin/c/a/d;->c:Ljava/lang/String;

    const-string/jumbo v1, "count_time_desc"

    invoke-virtual {v5, v1}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_7

    const-string/jumbo v1, "count_time_desc"

    invoke-virtual {v5, v1}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    :goto_4
    iput-object v1, v4, Lcom/waiqin365/lightapp/kaoqin/c/a/d;->d:Ljava/lang/String;

    const-string/jumbo v1, "reason"

    invoke-virtual {v5, v1}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_8

    const-string/jumbo v1, "reason"

    invoke-virtual {v5, v1}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    :goto_5
    iput-object v1, v4, Lcom/waiqin365/lightapp/kaoqin/c/a/d;->e:Ljava/lang/String;

    const-string/jumbo v1, "tr_addr"

    invoke-virtual {v5, v1}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_9

    const-string/jumbo v1, "tr_addr"

    invoke-virtual {v5, v1}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    :goto_6
    iput-object v1, v4, Lcom/waiqin365/lightapp/kaoqin/c/a/d;->f:Ljava/lang/String;

    const-string/jumbo v1, "type"

    invoke-virtual {v5, v1}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_a

    const-string/jumbo v1, "type"

    invoke-virtual {v5, v1}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    :goto_7
    iput-object v1, v4, Lcom/waiqin365/lightapp/kaoqin/c/a/d;->g:Ljava/lang/String;

    const-string/jumbo v1, "mission_status"

    invoke-virtual {v5, v1}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_b

    const-string/jumbo v1, "mission_status"

    invoke-virtual {v5, v1}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    :goto_8
    iput-object v1, v4, Lcom/waiqin365/lightapp/kaoqin/c/a/d;->h:Ljava/lang/String;

    const-string/jumbo v1, "is_can_del"

    invoke-virtual {v5, v1}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_c

    const-string/jumbo v1, "is_can_del"

    invoke-virtual {v5, v1}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    :goto_9
    iput-object v1, v4, Lcom/waiqin365/lightapp/kaoqin/c/a/d;->i:Ljava/lang/String;

    const-string/jumbo v1, "create_time_str"

    invoke-virtual {v5, v1}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z

    move-result v1

    if-eqz v1, :cond_d

    const-string/jumbo v1, "create_time_str"

    invoke-virtual {v5, v1}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    :goto_a
    iput-object v1, v4, Lcom/waiqin365/lightapp/kaoqin/c/a/d;->j:Ljava/lang/String;

    const-string/jumbo v1, "travel_type"

    const-string/jumbo v6, ""

    invoke-virtual {v5, v1, v6}, Lorg/json/JSONObject;->optString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    iput-object v1, v4, Lcom/waiqin365/lightapp/kaoqin/c/a/d;->k:Ljava/lang/String;

    if-eqz v4, :cond_3

    iget-object v1, p0, Lcom/waiqin365/lightapp/kaoqin/c/v;->d:Ljava/util/List;

    invoke-interface {v1, v4}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    :cond_3
    add-int/lit8 v1, v2, 0x1

    move v2, v1

    goto/16 :goto_0

    :cond_4
    const-string/jumbo v1, ""

    goto/16 :goto_1

    :cond_5
    const-string/jumbo v1, ""

    goto/16 :goto_2

    :cond_6
    const-string/jumbo v1, ""

    goto/16 :goto_3

    :cond_7
    const-string/jumbo v1, ""

    goto/16 :goto_4

    :cond_8
    const-string/jumbo v1, ""

    goto/16 :goto_5

    :cond_9
    const-string/jumbo v1, ""

    goto :goto_6

    :cond_a
    const-string/jumbo v1, ""

    goto :goto_7

    :cond_b
    const-string/jumbo v1, ""

    goto :goto_8

    :cond_c
    const-string/jumbo v1, ""

    goto :goto_9

    :cond_d
    const-string/jumbo v1, ""
    :try_end_0
    .catch Lorg/json/JSONException; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_a

    :catch_0
    move-exception v1

    invoke-virtual {v1}, Lorg/json/JSONException;->printStackTrace()V

    :goto_b
    return v0

    :cond_e
    const/4 v0, 0x1

    goto :goto_b
.end method

.method public c()Ljava/lang/String;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/c/v;->b:Ljava/lang/String;

    return-object v0
.end method

.method public d()I
    .locals 1

    iget v0, p0, Lcom/waiqin365/lightapp/kaoqin/c/v;->c:I

    return v0
.end method

.method public e()Ljava/util/List;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/kaoqin/c/v;->d:Ljava/util/List;

    return-object v0
.end method
